package com.article_api;


import com.common.result.JsonResult;
import org.springframework.security.core.context.SecurityContextHolder;
import org.springframework.web.multipart.MultipartFile;

public interface ArticleAPI {
    JsonResult addArticle(MultipartFile multipartFile, SecurityContextHolder securityContextHolder);
    JsonResult uploadPicture(MultipartFile multipartFile);
    JsonResult uploadFile(MultipartFile multipartFile, String path);
    JsonResult getUserArticle(long uid);
    JsonResult addFileByEditor(String file);
    JsonResult test();
}
